libxl: fd events: Break out libxl__fd_poll_recheck
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 16 Apr 2015 18:23:26 +0000 (19:23 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 22 Apr 2015 13:53:46 +0000 (14:53 +0100)
commit12f005c19de3d094c18322aae08f07c1949d9f53
treede64227f406cefa1cb461a68c88b46c189bc0cc2
parent269ac7369d0773de9f62ba65a5eaee0d60c91812
libxl: fd events: Break out libxl__fd_poll_recheck

Replaces two call sites where a rechecking poll() was open-coded.

No functional change, other than to highly unusual error path
diagnosis, and debug and error message output.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Jim Fehlig <jfehlig@suse.com>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Jim Fehlig <jfehlig@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_event.c
tools/libxl/libxl_internal.h